home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / m68k / 560 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.9 KB

  1. Path: siemens.ch!news
  2. From: Edward Zeh <edward.zeh@siemens.ch>
  3. Newsgroups: comp.sys.m68k
  4. Subject: MC68360 DRAM problem
  5. Date: Mon, 15 Apr 1996 10:29:21 +0200
  6. Organization: Engineering at Siemens Schweiz AG
  7. Message-ID: <317208E1.1B52@siemens.ch>
  8. NNTP-Posting-Host: 150.10.17.16
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (X11; I; HP-UX A.09.05 9000/712)
  13. CC: ze@siemens.ch
  14.  
  15. I'm using the Train360-Board from Motorola and have problems with DRAMs.
  16. I built in 4*1Mbyte SIMMs with
  17. 30 Pins. 
  18.  
  19. I can read and write the DRAM with the Debugger and all works well. But
  20. when I run a programm, which is in
  21. the DRAM, some memory-cells changes its value. I maked an easy programm
  22. to examine it: 
  23.  
  24.  
  25.         before running
  26.         --------------
  27.  
  28. BD32->dasm DRAM
  29.   00400000 41F9 0040 0200 DRAM:        LEA     $400200.L,A0
  30.   00400006 303C FFFF                   MOVE.W  #$FFFF,D0
  31.   0040000A 0690 0000 0001              ADDI.L  #$1,(A0)
  32.   00400010 4E71                        NOP
  33.   00400012 57C8 FFF6                   DBEQ    D0,$40000A.W
  34. B*00400016 4EF9 0040 0016              JMP     $400016.L
  35.   0040001C 0040 0100                   ORI.W   #$100,D0
  36.   00400020 203C 0000 0100              MOVE.L  #$100,D0
  37.   00400026 4241                        CLR.W   D1
  38.   00400028 41F9 4040 0200              LEA     $40400200.L,A0
  39.   0040002E 4242                        CLR.W   D2
  40.   00400030 D470 5100                   ADD.W   0(A0,D5.W),D2
  41.  
  42.         after running
  43.         -------------
  44.  
  45. BD32->dasm DRAM
  46.   00400000 41F9 0040 0200 DRAM:        LEA     $400200.L,A0
  47.   00400006 303C FFFF                   MOVE.W  #$FFFF,D0
  48.   0040000A 0E90 0000                   MOVES.L (A0),D0        // have changed
  49.   0040000E 0101                        BTST    D0,D1        // have changed
  50.   00400010 4E71                        NOP            //  ..
  51.   00400012 5FC8 FFF6                   DBLE    D0,$40000A.W    // have also
  52. changed
  53. B*00400016 4EF9 0040 0016              JMP     $400016.L
  54.   0040001C 0040 0100                   ORI.W   #$100,D0
  55.   00400020 203C 0000 0100              MOVE.L  #$100,D0
  56.   00400026 4241                        CLR.W   D1
  57.   00400028 41F9 4040 0200              LEA     $40400200.L,A0
  58.   0040002E 4242                        CLR.W   D2
  59.  
  60. The programm is very simple, it increases with every iteration the
  61. memory-cell located at $400200. But after
  62. few iteration the CPU reads wrong bytes and makes an bus-error. After an
  63. dissambling of this area, you
  64. see that some memory hasn't the same value as before. 
  65.  
  66. I haved switched on every delay and waitstates, which are possible in
  67. the SIM60-Subsystem of the MC68360.
  68. But nothing has helped.
  69.  
  70.     My Question to all, who read this page:
  71.     
  72.     Has anyone used DRAM with the MC68360 without problems ?
  73.     Does everyone know this problem ?
  74.     
  75.     When you someting know about this problems, please place a new in this
  76. newsgroup
  77.     or send me a mail to
  78.     
  79.     ze@siemens.ch
  80.     
  81.     96-04-15, Zuerich, Switzerland, Siemens, Edward Zeh
  82.